package com.zz.parkingsystem.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * 第三方参数表
 * @TableName t_parameters
 */
@Data
public class Parameters implements Serializable {
    /**
     * 第三方参数表id
     */
    private Integer paraId;

    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Parameters other = (Parameters) that;
        return (this.getParaId() == null ? other.getParaId() == null : this.getParaId().equals(other.getParaId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getParaId() == null) ? 0 : getParaId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", paraId=").append(paraId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}